<div>
<!--提交审批指令-->
<div class="demo-modal defer" ng-show="isShow">
	<div class="modal-header">
		<h4 class="modal-title" id="modal-title">
			添加展期
			<i class="icon icon-guanbi2" ng-click="cancel()"></i>
		</h4>
	</div>
	<div class="modal-body" id="modal-body">
    	<div class="defer-item">
    		<div class="defer-head">目前期数：</div>
    		<div class="defer-content">
    			共{{order.num}}期（已还{{order.periods=='首月扣款'?'1期':order.periods}}）
    		</div>
    	</div>
    	<div class="defer-item">
    		<div class="defer-head">
    			<span>*</span>
    			输入期数：
    		</div>
    		<div class="defer-content">
    			<input type="text" ng-model="param3.yue" class="form-control ng-pristine"/>个月
    		</div>
    	</div>
    	<div class="defer-item">
    		<div class="defer-head">
    			修改利率：
    		</div>
    		<div class="defer-content">
    			<input type="text" ng-model="order.interest" class="form-control ng-pristine"/>%
    		</div>
    		<div class="defer-foot">
    			<span>
    				<input type="radio" name="name1" ng-model="param2.update_type" value='1'/>
    				从第{{order.periods+1}}期开始修改利率并核算利息
    			</span>
    			<span>
    				<input type="radio" name="name1" ng-model="param2.update_type" value='2'/>
    				新增期数按照新利率核算利息
    			</span>
    		</div>
    	</div>
    	<div class="defer-item">
    		<div class="defer-head">
    			展期附件：
    		</div>
    		<div>
    			<button class='btn btn-warning'>本地图片</button>
    		</div>
			<div class="defer-foot">
				<i class="icon icon-info" style="color: #46ac49;vertical-align: middle;" ></i>
    			允许上传多张图片，格式为jpg、png格式，大小不超过5M
			</div>
    	</div>
    	<div class="defer-item">
    		<div class="defer-head">
    			备注：
    			<span class="defer-size">
    				还可以输入
    				<span>{{200-param2.remarks.length}}</span>
    				字
    			</span>
    		</div>
    		<div class="defer-content">
    			<textarea name="" rows="" cols="" ng-model="param2.remarks" class="form-control ng-pristine"></textarea>
    		</div>
    	</div>
    	<!--<div>
			<div>
		        <span><i class="red-star">*</i> 收款备注：</span>
		        <span style="float:right;">还可以输入<span id="zishuxians">200</span> 字</span>
		    </div>
		    <textarea class="remark-text"
		        ng-focus="remHight()"
		        ng-class="{'error':err.remarksPeriods}"
		        data-tag="textLength" showTag="zishuxians" maxlength="200" ng-model="param2.remarks">
		    </textarea>
		</div>-->
	</div>
	<div class="modal-footer">
         <button class="btn btn-primary" type="button" ng-click="tiJiao1()">下一步</button>
	</div>
</div>
<!--添加展期下一步-->
<div class="demo-modal defers" ng-show="!isShow">
	<div class="modal-header">
		<h4 class="modal-title" id="modal-title">
			添加展期
			<i class="icon icon-guanbi2" ng-click="cancel()"></i>
		</h4>
	</div>
	<div class="modal-body" id="modal-body">
		<div class="">
			<i class="icon icon-info" style="color: #46ac49;vertical-align: middle;" ></i>
			请核实以下填写的信息，一旦提交后，不可撤回删除！
		</div>
    	<div class="defers-item">
    		<div class="defers-head">展后总期数：</div>
    		<div class="defers-content">
    			共{{param2.sumNum}}期（新增{{param2.sumNumn}}，原{{param2.sumP}}期,已还{{param2.periods=='首月扣款'?'1期':param2.periods}}）
    		</div>
    	</div>
    	<div class="defers-item">
    		<div class="defers-head">
    			<span>*</span>
    			利率：
    		</div>
    		<div class="defers-content">
    			{{param2.r_interest}}%（新增的期数按照新利率核算利息，月利息{{param3.apply_money*param2.r_interest/100}}元）
    		</div>
    	</div>
    	<div class="defers-item">
    		<div class="defers-head">
    			展期附件：
    		</div>
    		<div class="defers-content">
    			未上传
    		</div>
    	</div>
    	<div class="defers-item">
    		<div class="defers-head">
    			备注：
    		</div>
    		<div>
    			{{param2.remarks}}
    		</div>
    	</div>
	</div>
	<div class="modal-footer">
		<button class="btn btn-warning" type="button" ng-click="fanHui1()">返回修改</button>
         <button class="btn btn-primary" type="button" ng-click="tiJiao2()">确定提交</button>
	</div>
</div>

</div>